﻿using EyFramework.ORM;
using EyFramework.Sys.Entity;

namespace EyFramework.Sys.Core.Dao
{
    public class SysUserDao : BaseDaoHis<SysUser>, ISysUserDao
    {
        public SysUser GetUserByUserName(string pLoginName)
        {
            return Db.Queryable<SysUser>().Where(p => p.USER_NAME == pLoginName).First();
        }
    }
}